<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
    let str="床前明月光，疑是地上霜，举头望明月，低头思故乡";
    let arr=str.split("，");
    console.log(arr);
</script>
</body>
</html>